const _ = 'MOBILE_GAME/'


/* APIGoods */
const APIGoods = {
  /* 创建金币商品 */
  createCoinGoods: 'MOBILE_GAME/SELL_CREATE_COIN_GOODS',
  /* 创建账号商品 */
  createAccountGoods: 'MOBILE_GAME/SELL_CREATE_ACCOUNT_GOODS',
  /* 获取金币详情接口 */
  getCoinGoodsDetail: 'MOBILE_GAME/SELL_COIN_GOODS_DETAIL',
}

/* APICategory */
const APICategory = {
  /* 获取游戏币单位 */
  getGameUnit: 'MOBILE_GAME/GAME_UNIT',
  /* 获取动态属性接口 */
  gameProperty: 'MOBILE_GAME/SELL_PROPERTY',
  /* 获取交易说明接口 */
  getTradeDescription: 'MOBILE_GAME/TRADE_DESCRIPTION',
  /* 搜索服务器接口 */
  searchServer: 'MOBILE_GAME/ACTION_SEARCH_SERVER',
}

/* actions */
export const type = {
  ...APIGoods,
  ...APICategory,
}
/* modules */
export const typeList = {
  setAccountGoods: _ + 'SET_ACCOUNT_GOODS',
  setGamePy: _ + 'SET_GAME_YP',
  setGames: _ + 'SET_GAMES',
  setSellGames: _ + 'SET_SELL_GAMES',
  setGoodsTypes: _ + 'SET_GOODS_TYPE',
  setGamePlatform: _ + 'SET_GAME_PLATFORM',
  setGameClient: _ + 'SET_GAME_CLIENT',
  setGameServer: _ + 'SET_GAME_SERVER',
  clearGameClient: _ + 'CLEAR_GAME_CLIENT',
  clearGameServer: _ + 'CLEAR_GAME_SERVER'
}